[IA64] Update efi.c and rework xenheap location
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 13 Jun 2006 14:45:22 +0000 (08:45 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 13 Jun 2006 14:45:22 +0000 (08:45 -0600)
commitb2f466854211f9c40d57aab3c274f288c078ea58
treef0bdf9a08b74fa4dca12cf6a6381feffc282523a
parent306a92d89d8192f38d4e899139c049b9e2378f64
[IA64] Update efi.c and rework xenheap location

This is a port of a newer upsteam efi.c to xen/ia64.  For the most
part, this patch is simply incorporating this upstream linux-ia64
patch into the tree:

http://www.kernel.org/hg/linux-2.6/?cs=fb781f6d3e81

To support this new code, xensetup needed to be modified to relocate
the dom0 kernel and initrd images without using efi_memmap_walk() as
this can no longer be called until after reserve_memory().  The dom0
kernel and initrd images are now only moved if necessary and the xen
MDT entry is expanded to cover the xenheap area and any relocated dom0
bits.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/linux-xen/efi.c
xen/arch/ia64/linux-xen/setup.c
xen/arch/ia64/xen/xensetup.c
xen/include/asm-ia64/linux-xen/asm/meminit.h